package Tread;

import java.util.concurrent.CopyOnWriteArrayList;

public class Example14_CopyOnWriteArrayList {
    public static void main(String[] args) {
        CopyOnWriteArrayList<String> list = new CopyOnWriteArrayList<>();
        list.add("郑思源");
        System.out.println(list.get(0));
    }
}
